<link rel="stylesheet" type="text/css" href="/static/css/simplePagination.css"/>
<div class="page-bottom">
    <div id="page-number" class="pagination"></div>
</div>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/static/js/jquery.simplePagination.js"></script>
<script type="text/javascript">
    $('#page-number').pagination({
        pages: <?php echo isset($totalPage) ? $totalPage : 1;?>,
        prevText: "上页",
        nextText: "下页",
        onPageClick: function (pageNumber, event) {
            if (typeof loadList == "function") {
                loadList(pageNumber);
            }
        }
    });
</script>